package com.spzx.product.service.impl;

import com.spzx.product.domain.ProductSpec;
import com.spzx.product.mapper.ProductSpecMapper;
import com.spzx.product.service.ProductSpecService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spzx.product.vo.CategoryBrandVo;
import com.spzx.product.vo.ProductSpecVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品规格 服务实现类
 * </p>
 *
 * @author lynn
 * @since 2025-03-12
 */
@Service
public class ProductSpecServiceImpl extends ServiceImpl<ProductSpecMapper, ProductSpec> implements ProductSpecService {

    @Autowired
    private ProductSpecMapper productSpecMapper;
    @Override
    public List<ProductSpecVo> selectProductSpecList(Integer categoryId, String specName) {
        List<ProductSpecVo> list = productSpecMapper.selectProductSpecList(categoryId,specName);
        return list;
    }
}
